package com.limf.demo.java7;

import java.util.Map;

public class SwitchTest {
	
	//final List<Integer> piDigits = [1,2,3,4,5,8];
	
	public static void main(String[] args) {

		
		
		String s = "test";
		switch (s) {
		case "test":
			System.out.println("test");
		case "test1":
			System.out.println("test1");
			break;
		default:
			System.out.println("break");
			break;
		}

		getEnvArg();
	}
	
	static void getEnvArg() {
		System.out.println(System.getProperty("java.io.tmpdir"));
		System.out.println(System.getProperty("java.version"));
		System.out.println(System.getProperty("java.vendor"));
		System.out.println(System.getProperty("java.vendor.url"));
		System.out.println(System.getProperty("java.home"));
		System.out.println(System.getProperty("java.vm.specification.version"));
		System.out.println("----------------------");
		System.out.println(System.getProperty("java.vm.specification.vendor"));
		System.out.println(System.getProperty("java.vm.specification.name"));
		System.out.println(System.getProperty("java.vm.version"));
		System.out.println(System.getProperty("java.vm.vendor"));
		System.out.println(System.getProperty("java.vm.name"));
		System.out.println(System.getProperty("java.specification.version"));
		System.out.println("----------------------");
		System.out.println(System.getProperty("java.specification.vendor"));
		System.out.println(System.getProperty("java.specification.name"));
		System.out.println(System.getProperty("java.class.version"));
		System.out.println(System.getProperty("java.class.path"));
		System.out.println(System.getProperty("java.library.path"));
		System.out.println(System.getProperty("java.compiler"));
		System.out.println("----------------------");
		System.out.println(System.getProperty("java.ext.dirs"));
		System.out.println(System.getProperty("os.name"));
		System.out.println(System.getProperty("os.arch"));
		System.out.println(System.getProperty("os.version"));
		System.out.println(System.getProperty("file.separator"));
		System.out.println(System.getProperty("path.separator"));
		System.out.println("----------------------");
		System.out.println(System.getProperty("line.separator"));
		System.out.println(System.getProperty("user.name"));
		System.out.println(System.getProperty("user.home"));
		System.out.println(System.getProperty("user.dir"));
	}
	
	static void boolTest() {
		//Boolean.negate(true);
	}
	
	static void charEquals() {
		
	}

	static void mathTest() {

	}
	static void mapTest() {
		
	}
}
